package com.example.qt.ptplatform.service.impl;

import com.example.qt.ptplatform.entity.PointRecord;
import com.example.qt.ptplatform.mapper.PointRecordMapper;
import com.example.qt.ptplatform.service.PointRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PointRecordServiceImpl implements PointRecordService {

    @Autowired
    private PointRecordMapper pointRecordMapper;

    @Override
    public List<PointRecord> getKeepSeedRecordsByUserId(Integer userId) {
        return pointRecordMapper.getKeepSeedPointsByUser(userId);
    }
}

